a = 100
b = 'he'
# c = print(a/b)
try:
    if not b.isdigit():
        raise TypeError("b不是数字")
    c = a/b
    print(c)
except TypeError as e:
    print(f"程序出错了,{e}")